!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[LinkBar_Responsive]",["react"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[LinkBar_Responsive]"]=t(require("react")):e["rb_wixui.thunderbolt[LinkBar_Responsive]"]=t(e.React)}("undefined"!=typeof self?self:this,(function(e){return function(){var t={5329:function(t){"use strict";t.exports=e},448:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.entries(e).reduce(((e,[t,i])=>(t.includes("data-")&&(e[t]=i),e)),{});const h=13,l=27;function d(e){return t=>{t.keyCode===e&&(t.preventDefault(),t.stopPropagation(),t.currentTarget.click())}}const g=d(32),p=d(h),_=e=>{p(e),g(e)},T=(d(l),{root:"linkElement"}),f=(e,t)=>{const{href:a,role:n,target:o,rel:c,className:s="",children:h,linkPopupId:l,anchorDataId:d,anchorCompId:f,tabIndex:I,dataTestId:m=T.root,title:L,onClick:E,onDoubleClick:A,onMouseEnter:b,onMouseLeave:O,onFocus:w,onFocusCapture:M,onBlurCapture:R,"aria-live":G,"aria-disabled":y,"aria-label":C,"aria-labelledby":S,"aria-pressed":F,"aria-expanded":P,"aria-describedby":N,"aria-haspopup":k,"aria-current":v,dataPreview:x,dataPart:B}=e,H=void 0!==e.activateByKey?e.activateByKey:(e=>e?"SpaceOrEnter":"Space")(l);let Y;switch(H){case"Enter":Y=p;break;case"Space":Y=g;break;case"SpaceOrEnter":Y=_;break;default:Y=void 0}return void 0!==a||l?r.createElement("a",i()({},u(e),{"data-testid":m,"data-popupid":l,"data-anchor":d,"data-anchor-comp-id":f,"data-preview":x,"data-part":B,href:a||void 0,target:o,role:l?"button":n,rel:c,className:s,onKeyDown:Y,"aria-live":G,"aria-disabled":y,"aria-label":C,"aria-labelledby":S,"aria-pressed":F,"aria-expanded":P,"aria-haspopup":k,"aria-describedby":N,"aria-current":v,title:L,onClick:E,onMouseEnter:b,onMouseLeave:O,onDoubleClick:A,onFocus:w,onFocusCapture:M,onBlurCapture:R,ref:t,tabIndex:l?0:I}),h):r.createElement("div",i()({},u(e),{"data-testid":m,"data-preview":x,"data-part":B,className:s,tabIndex:I,"aria-label":C,"aria-labelledby":S,"aria-haspopup":k,"aria-disabled":y,"aria-expanded":P,title:L,role:n,onClick:E,onDoubleClick:A,onMouseEnter:b,onMouseLeave:O,ref:t}),h)};var I=r.forwardRef(f);var m="HlRz5e";const L="v1",E=2,A=1920,b=1920,O=1e3,w=1e3,M={SCALE_TO_FILL:"fill",SCALE_TO_FIT:"fit",STRETCH:"stretch",ORIGINAL_SIZE:"original_size",TILE:"tile",TILE_HORIZONTAL:"tile_horizontal",TILE_VERTICAL:"tile_vertical",FIT_AND_TILE:"fit_and_tile",LEGACY_STRIP_TILE:"legacy_strip_tile",LEGACY_STRIP_TILE_HORIZONTAL:"legacy_strip_tile_horizontal",LEGACY_STRIP_TILE_VERTICAL:"legacy_strip_tile_vertical",LEGACY_STRIP_SCALE_TO_FILL:"legacy_strip_fill",LEGACY_STRIP_SCALE_TO_FIT:"legacy_strip_fit",LEGACY_STRIP_FIT_AND_TILE:"legacy_strip_fit_and_tile",LEGACY_STRIP_ORIGINAL_SIZE:"legacy_strip_original_size",LEGACY_ORIGINAL_SIZE:"actual_size",LEGACY_FIT_WIDTH:"fitWidth",LEGACY_FIT_HEIGHT:"fitHeight",LEGACY_FULL:"full",LEGACY_BG_FIT_AND_TILE:"legacy_tile",LEGACY_BG_FIT_AND_TILE_HORIZONTAL:"legacy_tile_horizontal",LEGACY_BG_FIT_AND_TILE_VERTICAL:"legacy_tile_vertical",LEGACY_BG_NORMAL:"legacy_normal"},R={FIT:"fit",FILL:"fill",FILL_FOCAL:"fill_focal",CROP:"crop",LEGACY_CROP:"legacy_crop",LEGACY_FILL:"legacy_fill"},G={CENTER:"center",TOP:"top",TOP_LEFT:"top_left",TOP_RIGHT:"top_right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom_left",BOTTOM_RIGHT:"bottom_right",LEFT:"left",RIGHT:"right"},y={[G.CENTER]:{x:.5,y:.5},[G.TOP_LEFT]:{x:0,y:0},[G.TOP_RIGHT]:{x:1,y:0},[G.TOP]:{x:.5,y:0},[G.BOTTOM_LEFT]:{x:0,y:1},[G.BOTTOM_RIGHT]:{x:1,y:1},[G.BOTTOM]:{x:.5,y:1},[G.RIGHT]:{x:1,y:.5},[G.LEFT]:{x:0,y:.5}},C={center:"c",top:"t",top_left:"tl",top_right:"tr",bottom:"b",bottom_left:"bl",bottom_right:"br",left:"l",right:"r"},S={BG:"bg",IMG:"img",SVG:"svg"},F={AUTO:"auto",CLASSIC:"classic",SUPER:"super"},P={classic:1,super:2},N={radius:"0.66",amount:"1.00",threshold:"0.01"},k={uri:"",css:{img:{},container:{}},attr:{img:{},container:{}},transformed:!1},v=25e6,x=[1.5,2,4],B={HIGH:{size:196e4,quality:90,maxUpscale:1},MEDIUM:{size:36e4,quality:85,maxUpscale:1},LOW:{size:16e4,quality:80,maxUpscale:1.2},TINY:{size:0,quality:80,maxUpscale:1.4}},H={HIGH:"HIGH",MEDIUM:"MEDIUM",LOW:"LOW",TINY:"TINY"},Y={CONTRAST:"contrast",BRIGHTNESS:"brightness",SATURATION:"saturation",HUE:"hue",BLUR:"blur"},U={JPG:"jpg",JPEG:"jpeg",JPE:"jpe",PNG:"png",WEBP:"webp",WIX_ICO_MP:"wix_ico_mp",WIX_MP:"wix_mp",GIF:"gif",SVG:"svg",AVIF:"avif",UNRECOGNIZED:"unrecognized"},$={AVIF:"AVIF",PAVIF:"PAVIF"};U.JPG,U.JPEG,U.JPE,U.PNG,U.GIF,U.WEBP;function D(e,...t){return function(...i){const a=i[i.length-1]||{},n=[e[0]];return t.forEach((function(t,r){const o=Number.isInteger(t)?i[t]:a[t];n.push(o,e[r+1])})),n.join("")}}function j(e){return e[e.length-1]}const z=[U.PNG,U.JPEG,U.JPG,U.JPE,U.WIX_ICO_MP,U.WIX_MP,U.WEBP,U.AVIF],V=[U.JPEG,U.JPG,U.JPE];function Z(e,t,i){return i&&t&&!(!(a=t.id)||!a.trim()||"none"===a.toLowerCase())&&Object.values(M).includes(e);var a}function W(e,t,i){return function(e,t,i=!1){return!((J(e)||Q(e))&&t&&!i)}(e,t,i)&&(function(e){return z.includes(ae(e))}(e)||function(e,t=!1){return X(e)&&t}(e,i))&&!/(^https?)|(^data)|(^\/\/)/.test(e)}function q(e){return ae(e)===U.PNG}function J(e){return ae(e)===U.WEBP}function X(e){return ae(e)===U.GIF}function Q(e){return ae(e)===U.AVIF}const K=["/","\\","?","<",">","|","\u201c",":",'"'].map(encodeURIComponent),ee=["\\.","\\*"],te="_";function ie(e){return function(e){return V.includes(ae(e))}(e)?U.JPG:q(e)?U.PNG:J(e)?U.WEBP:X(e)?U.GIF:Q(e)?U.AVIF:U.UNRECOGNIZED}function ae(e){return(/[.]([^.]+)$/.exec(e)&&/[.]([^.]+)$/.exec(e)[1]||"").toLowerCase()}function ne(e,t,i,a,n){let r;return r=n===R.FILL?function(e,t,i,a){return Math.max(i/e,a/t)}(e,t,i,a):n===R.FIT?function(e,t,i,a){return Math.min(i/e,a/t)}(e,t,i,a):1,r}function re(e,t,i,a,n,r){e=e||a.width,t=t||a.height;const{scaleFactor:o,width:c,height:s}=function(e,t,i,a,n){let r,o=i,c=a;if(r=ne(e,t,i,a,n),n===R.FIT&&(o=e*r,c=t*r),o&&c&&o*c>v){const i=Math.sqrt(v/(o*c));o*=i,c*=i,r=ne(e,t,o,c,n)}return{scaleFactor:r,width:o,height:c}}(e,t,a.width*n,a.height*n,i);return function(e,t,i,a,n,r,o){const{optimizedScaleFactor:c,upscaleMethodValue:s,forceUSM:u}=function(e,t,i,a){if("auto"===a)return function(e,t){const i=ue(e,t);return{optimizedScaleFactor:B[i].maxUpscale,upscaleMethodValue:P.classic,forceUSM:!1}}(e,t);if("super"===a)return function(e){return{optimizedScaleFactor:j(x),upscaleMethodValue:P.super,forceUSM:!(x.includes(e)||e>j(x))}}(i);return function(e,t){const i=ue(e,t);return{optimizedScaleFactor:B[i].maxUpscale,upscaleMethodValue:P.classic,forceUSM:!1}}(e,t)}(e,t,r,n);let h=i,l=a;if(r<=c)return{width:h,height:l,scaleFactor:r,upscaleMethodValue:s,forceUSM:u,cssUpscaleNeeded:!1};switch(o){case R.FILL:h=i*(c/r),l=a*(c/r);break;case R.FIT:h=e*c,l=t*c}return{width:h,height:l,scaleFactor:c,upscaleMethodValue:s,forceUSM:u,cssUpscaleNeeded:!0}}(e,t,c,s,r,o,i)}function oe(e,t,i,a){const n=se(i)||function(e=G.CENTER){return y[e]}(a);return{x:Math.max(0,Math.min(e.width-t.width,n.x*e.width-t.width/2)),y:Math.max(0,Math.min(e.height-t.height,n.y*e.height-t.height/2)),width:Math.min(e.width,t.width),height:Math.min(e.height,t.height)}}function ce(e){return e.alignment&&C[e.alignment]||C[G.CENTER]}function se(e){let t;return!e||"number"!=typeof e.x||isNaN(e.x)||"number"!=typeof e.y||isNaN(e.y)||(t={x:he(Math.max(0,Math.min(100,e.x))/100,2),y:he(Math.max(0,Math.min(100,e.y))/100,2)}),t}function ue(e,t){const i=e*t;return i>B[H.HIGH].size?H.HIGH:i>B[H.MEDIUM].size?H.MEDIUM:i>B[H.LOW].size?H.LOW:H.TINY}function he(e,t){const i=Math.pow(10,t||0);return(e*i/i).toFixed(t)}function le(e){return e&&e.upscaleMethod&&F[e.upscaleMethod.toUpperCase()]||F.AUTO}function de(e,t){const i=J(e)||Q(e);return ae(e)===U.GIF||i&&t}const ge={isMobile:!1},pe=function(e){return ge[e]};function _e(){if("undefined"!=typeof window&&"undefined"!=typeof navigator){const t=window.matchMedia&&window.matchMedia("(max-width: 767px)").matches,i=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);e=t&&i,ge["isMobile"]=e}var e}function Te(e,t){const i={css:{container:{}}},{css:a}=i,{fittingType:n}=e;switch(n){case M.ORIGINAL_SIZE:case M.LEGACY_ORIGINAL_SIZE:case M.LEGACY_STRIP_ORIGINAL_SIZE:a.container.backgroundSize="auto",a.container.backgroundRepeat="no-repeat";break;case M.SCALE_TO_FIT:case M.LEGACY_STRIP_SCALE_TO_FIT:a.container.backgroundSize="contain",a.container.backgroundRepeat="no-repeat";break;case M.STRETCH:a.container.backgroundSize="100% 100%",a.container.backgroundRepeat="no-repeat";break;case M.SCALE_TO_FILL:case M.LEGACY_STRIP_SCALE_TO_FILL:a.container.backgroundSize="cover",a.container.backgroundRepeat="no-repeat";break;case M.TILE_HORIZONTAL:case M.LEGACY_STRIP_TILE_HORIZONTAL:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat-x";break;case M.TILE_VERTICAL:case M.LEGACY_STRIP_TILE_VERTICAL:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat-y";break;case M.TILE:case M.LEGACY_STRIP_TILE:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat";break;case M.LEGACY_STRIP_FIT_AND_TILE:a.container.backgroundSize="contain",a.container.backgroundRepeat="repeat";break;case M.FIT_AND_TILE:case M.LEGACY_BG_FIT_AND_TILE:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat";break;case M.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat-x";break;case M.LEGACY_BG_FIT_AND_TILE_VERTICAL:a.container.backgroundSize="auto",a.container.backgroundRepeat="repeat-y";break;case M.LEGACY_BG_NORMAL:a.container.backgroundSize="auto",a.container.backgroundRepeat="no-repeat"}switch(t.alignment){case G.CENTER:a.container.backgroundPosition="center center";break;case G.LEFT:a.container.backgroundPosition="left center";break;case G.RIGHT:a.container.backgroundPosition="right center";break;case G.TOP:a.container.backgroundPosition="center top";break;case G.BOTTOM:a.container.backgroundPosition="center bottom";break;case G.TOP_RIGHT:a.container.backgroundPosition="right top";break;case G.TOP_LEFT:a.container.backgroundPosition="left top";break;case G.BOTTOM_RIGHT:a.container.backgroundPosition="right bottom";break;case G.BOTTOM_LEFT:a.container.backgroundPosition="left bottom"}return i}const fe={[G.CENTER]:"center",[G.TOP]:"top",[G.TOP_LEFT]:"top left",[G.TOP_RIGHT]:"top right",[G.BOTTOM]:"bottom",[G.BOTTOM_LEFT]:"bottom left",[G.BOTTOM_RIGHT]:"bottom right",[G.LEFT]:"left",[G.RIGHT]:"right"},Ie={position:"absolute",top:"auto",right:"auto",bottom:"auto",left:"auto"};function me(e,t){const i={css:{container:{},img:{}}},{css:a}=i,{fittingType:n}=e,r=t.alignment;switch(a.container.position="relative",n){case M.ORIGINAL_SIZE:case M.LEGACY_ORIGINAL_SIZE:e.parts&&e.parts.length?(a.img.width=e.parts[0].width,a.img.height=e.parts[0].height):(a.img.width=e.src.width,a.img.height=e.src.height);break;case M.SCALE_TO_FIT:case M.LEGACY_FIT_WIDTH:case M.LEGACY_FIT_HEIGHT:case M.LEGACY_FULL:a.img.width=t.width,a.img.height=t.height,a.img.objectFit="contain",a.img.objectPosition=fe[r]||"unset";break;case M.LEGACY_BG_NORMAL:a.img.width="100%",a.img.height="100%",a.img.objectFit="none",a.img.objectPosition=fe[r]||"unset";break;case M.STRETCH:a.img.width=t.width,a.img.height=t.height,a.img.objectFit="fill";break;case M.SCALE_TO_FILL:a.img.width=t.width,a.img.height=t.height,a.img.objectFit="cover"}if("number"==typeof a.img.width&&"number"==typeof a.img.height&&(a.img.width!==t.width||a.img.height!==t.height)){const e=Math.round((t.height-a.img.height)/2),i=Math.round((t.width-a.img.width)/2);Object.assign(a.img,Ie,function(e,t,i){return{[G.TOP_LEFT]:{top:0,left:0},[G.TOP_RIGHT]:{top:0,right:0},[G.TOP]:{top:0,left:t},[G.BOTTOM_LEFT]:{bottom:0,left:0},[G.BOTTOM_RIGHT]:{bottom:0,right:0},[G.BOTTOM]:{bottom:0,left:t},[G.RIGHT]:{top:e,right:0},[G.LEFT]:{top:e,left:0},[G.CENTER]:{width:i.width,height:i.height,objectFit:"none"}}}(e,i,t)[r])}return i}function Le(e,t){const i={css:{container:{}},attr:{container:{},img:{}}},{css:a,attr:n}=i,{fittingType:r}=e,o=t.alignment,{width:c,height:s}=e.src;let u;switch(a.container.position="relative",r){case M.ORIGINAL_SIZE:case M.LEGACY_ORIGINAL_SIZE:case M.TILE:e.parts&&e.parts.length?(n.img.width=e.parts[0].width,n.img.height=e.parts[0].height):(n.img.width=c,n.img.height=s),n.img.preserveAspectRatio="xMidYMid slice";break;case M.SCALE_TO_FIT:case M.LEGACY_FIT_WIDTH:case M.LEGACY_FIT_HEIGHT:case M.LEGACY_FULL:n.img.width="100%",n.img.height="100%",n.img.transform="",n.img.preserveAspectRatio="";break;case M.STRETCH:n.img.width=t.width,n.img.height=t.height,n.img.x=0,n.img.y=0,n.img.transform="",n.img.preserveAspectRatio="none";break;case M.SCALE_TO_FILL:W(e.src.id)?(n.img.width=t.width,n.img.height=t.height):(u=function(e,t,i,a,n){const r=ne(e,t,i,a,n);return{width:Math.round(e*r),height:Math.round(t*r)}}(c,s,t.width,t.height,R.FILL),n.img.width=u.width,n.img.height=u.height),n.img.x=0,n.img.y=0,n.img.transform="",n.img.preserveAspectRatio="xMidYMid slice"}if("number"==typeof n.img.width&&"number"==typeof n.img.height&&(n.img.width!==t.width||n.img.height!==t.height)){let e,i,a=0,c=0;r===M.TILE?(e=t.width%n.img.width,i=t.height%n.img.height):(e=t.width-n.img.width,i=t.height-n.img.height);const s=Math.round(e/2),u=Math.round(i/2);switch(o){case G.TOP_LEFT:a=0,c=0;break;case G.TOP:a=s,c=0;break;case G.TOP_RIGHT:a=e,c=0;break;case G.LEFT:a=0,c=u;break;case G.CENTER:a=s,c=u;break;case G.RIGHT:a=e,c=u;break;case G.BOTTOM_LEFT:a=0,c=i;break;case G.BOTTOM:a=s,c=i;break;case G.BOTTOM_RIGHT:a=e,c=i}n.img.x=a,n.img.y=c}return n.container.width=t.width,n.container.height=t.height,n.container.viewBox=[0,0,t.width,t.height].join(" "),i}function Ee(e,t,i){let a;switch(t.crop&&(a=function(e,t){const i=Math.max(0,Math.min(e.width,t.x+t.width)-Math.max(0,t.x)),a=Math.max(0,Math.min(e.height,t.y+t.height)-Math.max(0,t.y));return i&&a&&(e.width!==i||e.height!==a)?{x:Math.max(0,t.x),y:Math.max(0,t.y),width:i,height:a}:null}(t,t.crop),a&&(e.src.width=a.width,e.src.height=a.height,e.src.isCropped=!0,e.parts.push(be(a)))),e.fittingType){case M.SCALE_TO_FIT:case M.LEGACY_FIT_WIDTH:case M.LEGACY_FIT_HEIGHT:case M.LEGACY_FULL:case M.FIT_AND_TILE:case M.LEGACY_BG_FIT_AND_TILE:case M.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case M.LEGACY_BG_FIT_AND_TILE_VERTICAL:case M.LEGACY_BG_NORMAL:e.parts.push(Ae(e,i));break;case M.SCALE_TO_FILL:e.parts.push(function(e,t){const i=re(e.src.width,e.src.height,R.FILL,t,e.devicePixelRatio,e.upscaleMethod),a=se(e.focalPoint);return{transformType:a?R.FILL_FOCAL:R.FILL,width:Math.round(i.width),height:Math.round(i.height),alignment:ce(t),focalPointX:a&&a.x,focalPointY:a&&a.y,upscale:i.scaleFactor>1,forceUSM:i.forceUSM,scaleFactor:i.scaleFactor,cssUpscaleNeeded:i.cssUpscaleNeeded,upscaleMethodValue:i.upscaleMethodValue}}(e,i));break;case M.STRETCH:e.parts.push(function(e,t){const i=ne(e.src.width,e.src.height,t.width,t.height,R.FILL),a={...t};return a.width=e.src.width*i,a.height=e.src.height*i,Ae(e,a)}(e,i));break;case M.TILE_HORIZONTAL:case M.TILE_VERTICAL:case M.TILE:case M.LEGACY_ORIGINAL_SIZE:case M.ORIGINAL_SIZE:a=oe(e.src,i,e.focalPoint,i.alignment),e.src.isCropped?(Object.assign(e.parts[0],a),e.src.width=a.width,e.src.height=a.height):e.parts.push(be(a));break;case M.LEGACY_STRIP_TILE_HORIZONTAL:case M.LEGACY_STRIP_TILE_VERTICAL:case M.LEGACY_STRIP_TILE:case M.LEGACY_STRIP_ORIGINAL_SIZE:e.parts.push(function(e){return{transformType:R.LEGACY_CROP,width:Math.round(e.width),height:Math.round(e.height),alignment:ce(e),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}(i));break;case M.LEGACY_STRIP_SCALE_TO_FIT:case M.LEGACY_STRIP_FIT_AND_TILE:e.parts.push(function(e){return{transformType:R.FIT,width:Math.round(e.width),height:Math.round(e.height),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(i));break;case M.LEGACY_STRIP_SCALE_TO_FILL:e.parts.push(function(e){return{transformType:R.LEGACY_FILL,width:Math.round(e.width),height:Math.round(e.height),alignment:ce(e),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(i))}}function Ae(e,t){const i=re(e.src.width,e.src.height,R.FIT,t,e.devicePixelRatio,e.upscaleMethod);return{transformType:!e.src.width||!e.src.height?R.FIT:R.FILL,width:Math.round(i.width),height:Math.round(i.height),alignment:C.center,upscale:i.scaleFactor>1,forceUSM:i.forceUSM,scaleFactor:i.scaleFactor,cssUpscaleNeeded:i.cssUpscaleNeeded,upscaleMethodValue:i.upscaleMethodValue}}function be(e){return{transformType:R.CROP,x:Math.round(e.x),y:Math.round(e.y),width:Math.round(e.width),height:Math.round(e.height),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}function Oe(e,t){t=t||{},e.quality=function(e,t){const i=e.fileType===U.PNG,a=e.fileType===U.JPG,n=e.fileType===U.WEBP,r=e.fileType===U.AVIF,o=a||i||n||r;if(o){const a=j(e.parts),n=(c=a.width,s=a.height,B[ue(c,s)].quality);let r=t.quality&&t.quality>=5&&t.quality<=90?t.quality:n;return r=i?r+5:r,r}var c,s;return 0}(e,t),e.progressive=function(e){return!1!==e.progressive}(t),e.watermark=function(e){return e.watermark}(t),e.autoEncode=t.autoEncode??!0,e.encoding=t?.encoding,e.unsharpMask=function(e,t){if(function(e){const t="number"==typeof(e=e||{}).radius&&!isNaN(e.radius)&&e.radius>=.1&&e.radius<=500,i="number"==typeof e.amount&&!isNaN(e.amount)&&e.amount>=0&&e.amount<=10,a="number"==typeof e.threshold&&!isNaN(e.threshold)&&e.threshold>=0&&e.threshold<=255;return t&&i&&a}(t.unsharpMask))return{radius:he(t.unsharpMask?.radius,2),amount:he(t.unsharpMask?.amount,2),threshold:he(t.unsharpMask?.threshold,2)};if(("number"!=typeof(i=(i=t.unsharpMask)||{}).radius||isNaN(i.radius)||0!==i.radius||"number"!=typeof i.amount||isNaN(i.amount)||0!==i.amount||"number"!=typeof i.threshold||isNaN(i.threshold)||0!==i.threshold)&&function(e){const t=j(e.parts);return!(t.scaleFactor>=1)||t.forceUSM||t.transformType===R.FIT}(e))return N;var i;return}(e,t),e.filters=function(e){const t=e.filters||{},i={};we(t[Y.CONTRAST],-100,100)&&(i[Y.CONTRAST]=t[Y.CONTRAST]);we(t[Y.BRIGHTNESS],-100,100)&&(i[Y.BRIGHTNESS]=t[Y.BRIGHTNESS]);we(t[Y.SATURATION],-100,100)&&(i[Y.SATURATION]=t[Y.SATURATION]);we(t[Y.HUE],-180,180)&&(i[Y.HUE]=t[Y.HUE]);we(t[Y.BLUR],0,100)&&(i[Y.BLUR]=t[Y.BLUR]);return i}(t)}function we(e,t,i){return"number"==typeof e&&!isNaN(e)&&0!==e&&e>=t&&e<=i}function Me(e,t,i,a){const n=function(e){return e?.isSEOBot??!1}(a),r=ie(t.id),o=function(e,t){const i=/\.([^.]*)$/,a=new RegExp(`(${K.concat(ee).join("|")})`,"g");if(t&&t.length){let e=t;const n=t.match(i);return n&&z.includes(n[1])&&(e=t.replace(i,"")),encodeURIComponent(e).replace(a,te)}const n=e.match(/\/(.*?)$/);return(n?n[1]:e).replace(i,"")}(t.id,t.name),c=n?1:function(e){return Math.min(e.pixelAspectRatio||1,E)}(i),s=ae(t.id),u=s,h=W(t.id,a?.hasAnimation,a?.allowAnimatedTransform),l={fileName:o,fileExtension:s,fileType:r,fittingType:e,preferredExtension:u,src:{id:t.id,width:t.width,height:t.height,isCropped:!1,isAnimated:de(t.id,a?.hasAnimation)},focalPoint:{x:t.focalPoint&&t.focalPoint.x,y:t.focalPoint&&t.focalPoint.y},parts:[],devicePixelRatio:c,quality:0,upscaleMethod:le(a),progressive:!0,watermark:"",unsharpMask:{},filters:{},transformed:h};return h&&(Ee(l,t,i),Oe(l,a)),l}function Re(e,t,i){const a={...i},n=pe("isMobile");switch(e){case M.LEGACY_BG_FIT_AND_TILE:case M.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case M.LEGACY_BG_FIT_AND_TILE_VERTICAL:case M.LEGACY_BG_NORMAL:const e=n?O:A,i=n?w:b;a.width=Math.min(e,t.width),a.height=Math.min(i,Math.round(a.width/(t.width/t.height))),a.pixelAspectRatio=1}return a}const Ge=D`fit/w_${"width"},h_${"height"}`,ye=D`fill/w_${"width"},h_${"height"},al_${"alignment"}`,Ce=D`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`,Se=D`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`,Fe=D`crop/w_${"width"},h_${"height"},al_${"alignment"}`,Pe=D`fill/w_${"width"},h_${"height"},al_${"alignment"}`,Ne=D`,lg_${"upscaleMethodValue"}`,ke=D`,q_${"quality"}`,ve=D`,quality_auto`,xe=D`,usm_${"radius"}_${"amount"}_${"threshold"}`,Be=D`,bl`,He=D`,wm_${"watermark"}`,Ye={[Y.CONTRAST]:D`,con_${"contrast"}`,[Y.BRIGHTNESS]:D`,br_${"brightness"}`,[Y.SATURATION]:D`,sat_${"saturation"}`,[Y.HUE]:D`,hue_${"hue"}`,[Y.BLUR]:D`,blur_${"blur"}`},Ue=D`,enc_auto`,$e=D`,enc_avif`,De=D`,enc_pavif`,je=D`,pstr`;function ze(e,t,i,a={},n){if(W(t.id,a?.hasAnimation,a?.allowAnimatedTransform)){if(J(t.id)||Q(t.id)){const{alignment:r,...o}=i;t.focalPoint={x:void 0,y:void 0},delete t?.crop,n=Me(e,t,o,a)}else n=n||Me(e,t,i,a);return function(e){const t=[];e.parts.forEach((e=>{switch(e.transformType){case R.CROP:t.push(Se(e));break;case R.LEGACY_CROP:t.push(Fe(e));break;case R.LEGACY_FILL:let i=Pe(e);e.upscale&&(i+=Ne(e)),t.push(i);break;case R.FIT:let a=Ge(e);e.upscale&&(a+=Ne(e)),t.push(a);break;case R.FILL:let n=ye(e);e.upscale&&(n+=Ne(e)),t.push(n);break;case R.FILL_FOCAL:let r=Ce(e);e.upscale&&(r+=Ne(e)),t.push(r)}}));let i=t.join("/");return e.quality&&(i+=ke(e)),e.unsharpMask&&(i+=xe(e.unsharpMask)),e.progressive||(i+=Be(e)),e.watermark&&(i+=He(e)),e.filters&&(i+=Object.keys(e.filters).map((t=>Ye[t](e.filters))).join("")),e.fileType!==U.GIF&&(e.encoding===$.AVIF?(i+=$e(e),i+=ve(e)):e.encoding===$.PAVIF?(i+=De(e),i+=ve(e)):e.autoEncode&&(i+=Ue(e))),e.src?.isAnimated&&e.transformed&&(i+=je(e)),`${e.src.id}/${L}/${i}/${e.fileName}.${e.preferredExtension}`}(n)}return t.id}const Ve={[G.CENTER]:"50% 50%",[G.TOP_LEFT]:"0% 0%",[G.TOP_RIGHT]:"100% 0%",[G.TOP]:"50% 0%",[G.BOTTOM_LEFT]:"0% 100%",[G.BOTTOM_RIGHT]:"100% 100%",[G.BOTTOM]:"50% 100%",[G.RIGHT]:"100% 50%",[G.LEFT]:"0% 50%"},Ze=Object.entries(Ve).reduce(((e,[t,i])=>(e[i]=t,e)),{}),We=[M.TILE,M.TILE_HORIZONTAL,M.TILE_VERTICAL,M.LEGACY_BG_FIT_AND_TILE,M.LEGACY_BG_FIT_AND_TILE_HORIZONTAL,M.LEGACY_BG_FIT_AND_TILE_VERTICAL],qe=[M.LEGACY_ORIGINAL_SIZE,M.ORIGINAL_SIZE,M.LEGACY_BG_NORMAL];function Je(e,t,{width:i,height:a}){return e===M.TILE&&t.width>i&&t.height>a}function Xe(e,{width:t,height:i}){if(!t||!i){const a=t||Math.min(980,e.width),n=a/e.width;return{width:a,height:i||e.height*n}}return{width:t,height:i}}function Qe(e,t,i,a="center"){const n={img:{},container:{}};if(e===M.SCALE_TO_FILL){const e=t.focalPoint&&function(e){const t=`${e.x}% ${e.y}%`;return Ze[t]||""}(t.focalPoint),r=e||a;t.focalPoint&&!e?n.img={objectPosition:Ke(t,i,t.focalPoint)}:n.img={objectPosition:Ve[r]}}else[M.LEGACY_ORIGINAL_SIZE,M.ORIGINAL_SIZE].includes(e)?n.img={objectFit:"none",top:"auto",left:"auto",right:"auto",bottom:"auto"}:We.includes(e)&&(n.container={backgroundSize:`${t.width}px ${t.height}px`});return n}function Ke(e,t,i){const{width:a,height:n}=e,{width:r,height:o}=t,{x:c,y:s}=i;if(!r||!o)return`${c}% ${s}%`;const u=Math.max(r/a,o/n),h=a*u,l=n*u,d=Math.max(0,Math.min(h-r,h*(c/100)-r/2)),g=Math.max(0,Math.min(l-o,l*(s/100)-o/2));return`${d&&Math.floor(d/(h-r)*100)}% ${g&&Math.floor(g/(l-o)*100)}%`}const et={width:"100%",height:"100%"};function tt(e,t,i,a={}){const{autoEncode:n=!0,isSEOBot:r,shouldLoadHQImage:o,hasAnimation:c,allowAnimatedTransform:s,encoding:u}=a;if(!Z(e,t,i))return k;const h=void 0===s||s,l=W(t.id,c,h);if(!l||o)return it(e,t,i,{...a,autoEncode:n,useSrcset:l});const d={...i,...Xe(t,i)},{alignment:g,htmlTag:p}=d,_=Je(e,t,d),T=function(e,t,{width:i,height:a},n=!1){if(n)return{width:i,height:a};const r=!qe.includes(e),o=Je(e,t,{width:i,height:a}),c=!o&&We.includes(e),s=c?t.width:i,u=c?t.height:a,h=r?function(e,t){return e>900?t?.05:.15:e>500?t?.1:.18:e>200?.25:1}(s,q(t.id)):1;return{width:o?1920:s*h,height:u*h}}(e,t,d,r),f=function(e,t,i){return i?0:We.includes(t)?1:e>200?2:3}(d.width,e,r),I=function(e,t){const i=We.includes(e)&&!t;return e===M.SCALE_TO_FILL||i?M.SCALE_TO_FIT:e}(e,_),m=Qe(e,t,i,g),{uri:L}=it(I,t,{...T,alignment:g,htmlTag:p},{autoEncode:n,filters:f?{blur:f}:{},hasAnimation:c,allowAnimatedTransform:h,encoding:u}),{attr:E={},css:A}=it(e,t,{...d,alignment:g,htmlTag:p},{});return A.img=A.img||{},A.container=A.container||{},Object.assign(A.img,m.img,et),Object.assign(A.container,m.container),{uri:L,css:A,attr:E,transformed:!0}}function it(e,t,i,a){let n={};if(Z(e,t,i)){const r=Re(e,t,i),o=Me(e,t,r,a);n.uri=ze(e,t,r,a,o),a?.useSrcset&&(n.srcset=function(e,t,i,a,n){const r=i.pixelAspectRatio||1;return{dpr:[`${1===r?n.uri:ze(e,t,{...i,pixelAspectRatio:1},a)} 1x`,`${2===r?n.uri:ze(e,t,{...i,pixelAspectRatio:2},a)} 2x`]}}(e,t,r,a,n)),Object.assign(n,function(e,t){let i;return i=t.htmlTag===S.BG?Te:t.htmlTag===S.SVG?Le:me,i(e,t)}(o,r),{transformed:o.transformed})}else n=k;return n}const at="https://static.wixstatic.com/media/";"undefined"!=typeof window&&window.devicePixelRatio;_e();_e();const nt=at,{STATIC_MEDIA_URL:rt}=e,ot=({fittingType:e,src:t,target:i,options:a})=>{const n=tt(e,t,i,{...a,autoEncode:!0});return n?.uri&&!/^[a-z]+:/.test(n.uri)&&(n.uri=`${rt}${n.uri}`),n},ct=/^[a-z]+:/,st=e=>{const{id:t,containerId:i,uri:a,alt:n,name:o="",role:c,width:s,height:u,displayMode:h,devicePixelRatio:l,quality:d,alignType:g,bgEffectName:p="",focalPoint:_,upscaleMethod:T,className:f="",crop:I,imageStyles:L={},targetWidth:E,targetHeight:A,targetScale:b,onLoad:O=(()=>{}),onError:w=(()=>{}),shouldUseLQIP:M,containerWidth:R,containerHeight:G,getPlaceholder:y,isInFirstFold:C,placeholderTransition:S,socialAttrs:F,isSEOBot:P,skipMeasure:N,hasAnimation:k,encoding:v}=e,x=r.useRef(null);let B="";const H="blur"===S,Y=r.useRef(null);if(!Y.current)if(y||M||C||P){const e={upscaleMethod:T,...d||{},shouldLoadHQImage:C,isSEOBot:P,hasAnimation:k,encoding:v};Y.current=(y||ot)({fittingType:h,src:{id:a,width:s,height:u,crop:I,name:o,focalPoint:_},target:{width:R,height:G,alignment:g,htmlTag:"img"},options:e}),B=!Y.current.transformed||C||P?"":"true"}else Y.current={uri:void 0,css:{img:{}},attr:{img:{},container:{}},transformed:!1};const U=!P&&(y||M)&&!C&&Y.current.transformed,$=r.useMemo((()=>JSON.stringify({containerId:i,...i&&{containerId:i},...g&&{alignType:g},...N&&{skipMeasure:!0},displayMode:h,...R&&{targetWidth:R},...G&&{targetHeight:G},...E&&{targetWidth:E},...A&&{targetHeight:A},...b&&{targetScale:b},isLQIP:U,isSEOBot:P,lqipTransition:S,encoding:v,imageData:{width:s,height:u,uri:a,name:o,displayMode:h,hasAnimation:k,...d&&{quality:d},...l&&{devicePixelRatio:l},..._&&{focalPoint:_},...I&&{crop:I},...T&&{upscaleMethod:T}}})),[i,g,N,h,R,G,E,A,b,U,P,S,v,s,u,a,o,k,d,l,_,I,T]),D=Y.current,j=D?.uri,z=D?.srcset,V=D.css?.img,Z=`${m} ${f}`;r.useEffect((()=>{const e=x.current;O&&e?.currentSrc&&e?.complete&&O({target:e})}),[]);const W=D&&!D?.transformed?`max(${s}px, 100%)`:E?`${E}px`:null;return r.createElement("wow-image",{id:t,class:Z,"data-image-info":$,"data-motion-part":`BG_IMG ${i}`,"data-bg-effect-name":p,"data-has-ssr-src":B,"data-animate-blur":!P&&U&&H?"":void 0,style:W?{"--wix-img-max-width":W}:{}},r.createElement("img",{src:j,ref:x,alt:n||"",role:c,style:{...V,...L},onLoad:O,onError:w,width:R||void 0,height:G||void 0,...F,srcSet:C?z?.dpr?.map((e=>ct.test(e)?e:`${rt}${e}`)).join(", "):void 0,fetchpriority:C?"high":void 0,loading:!1===C?"lazy":void 0,suppressHydrationWarning:!0}))};var ut="I5zqsT";var ht=e=>{var t,a;const{id:n,alt:o,role:c,className:u,imageStyles:h={},targetWidth:l,targetHeight:d,onLoad:g,onError:p,containerWidth:_,containerHeight:T,isInFirstFold:f,socialAttrs:I,skipMeasure:m,responsiveImageProps:L,zoomedImageResponsiveOverride:E}=e,A=l||_,b=d||T,O=A+"px",{fallbackSrc:w,srcset:M,css:R}=L||{};return w&&M&&R?r.createElement("img",i()({fetchpriority:f?"high":void 0,loading:!1===f?"lazy":void 0,sizes:O,srcSet:m?null==E?void 0:E.srcset:null==L?void 0:L.srcset,id:n,src:w,alt:o||"",role:c,style:{...h,...m?{...null==E||null==(t=E.css)?void 0:t.img}:{...null==L||null==(a=L.css)?void 0:a.img}},onLoad:g,onError:p,className:s(u,ut),width:A,height:b},I)):r.createElement(st,e)};var lt=e=>{const{id:t,images:a,styles:n,iconSize:o,className:c,shouldRenderPlaceholders:h=!1,translations:l,onMouseEnter:d,onMouseLeave:g,getPlaceholder:p,reportBiOnClick:_}=e,T=h&&o&&p?{getPlaceholder:p,containerWidth:o,containerHeight:o}:{};return r.createElement("div",i()({id:t},u(e),{className:s(c,n.root),onMouseEnter:d,onMouseLeave:g}),r.createElement("ul",{className:n.container,"aria-label":l.ariaLabel},a.map(((e,a)=>r.createElement("li",{id:e.containerId,key:e.containerId,onClick:()=>_(e),className:n.listItem},r.createElement(I,i()({className:n.link},e.link,{"aria-label":e.alt}),r.createElement(ht,i()({id:"img_"+a+"_"+t},(e=>{let{link:t,...i}=e;return i})(e),{className:n.image},T))))))))};var dt=e=>r.createElement(lt,i()({},e,{styles:o}));const gt=e=>e.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`)),pt=e=>"linkPopupId"in e,_t=(e,t)=>{if(pt(e))return e.linkPopupId;{const{pagesMap:i,mainPageId:a}=t||{};if(!i)return;const n=new URL(e.href??"");let r=Object.values(i).find((({pageUriSEO:e})=>!!e&&n.pathname?.includes(e)));return r||(r=a?i[a]:void 0),r?.pageId}},Tt=e=>{if(void 0!==e)return null===e?"None":e.type},ft=(e,t)=>{if(!e?.type)return;const{type:i}=e;switch(i){case"AnchorLink":return e.anchorDataId;case"DocumentLink":return e.docInfo?.name;case"PageLink":const i=_t(e,t);return i&&t?.pagesMap?.[i]?.title;default:return e.href}},It=(e,t,i)=>{const{link:a,value:n,details:r,actionName:o,elementType:c,trackClicksAnalytics:s,pagesMetadata:u,...h}=t;if(!s)return;const l=u&&{...u,pagesMap:window.viewerModel?.siteFeaturesConfigs?.router?.pagesMap},d=((e,t)=>{if(!e?.type)return;const{type:i}=e;switch(i){case"AnchorLink":return(e=>"anchorDataId"in e&&("SCROLL_TO_TOP"===e.anchorDataId||"SCROLL_TO_BOTTOM"===e.anchorDataId))(e)?void 0:{id:e.anchorDataId};case"DocumentLink":return{id:e.docInfo?.docId};case"PageLink":return{id:_t(e,t),isLightbox:pt(e)};default:return}})(a,l),g=r||d?JSON.stringify({...d,...r}):void 0;e({src:76,evid:1113,...{...h,bl:navigator.language,url:window.location.href,details:g,elementType:c??"Unknown",actionName:o??Tt(a),value:n??ft(a,l)}},{endpoint:"pa",...i})};var mt;!function(e){e.Text="Text",e.Menu="Menu",e.Image="Image",e.Input="Input",e.Login="Login",e.Button="Button",e.Social="Social",e.Gallery="Gallery",e.Community="Community",e.Decorative="Decorative",e.MenuAndSearch="MenuAndSearch",e.MenuAndAnchor="MenuAndAnchor"}(mt||(mt={}));var Lt;const Et={LinkBar_Responsive:{component:dt,controller:(Lt=e=>{let{mapperProps:t,stateValues:i}=e;const{compId:a,language:n,fullNameCompType:r,trackClicksAnalytics:o,...c}=t;return{...c,reportBiOnClick:e=>{var t;It(i.reportBi,{language:n,trackClicksAnalytics:o,element_id:a,value:null==(t=e.link)?void 0:t.href,elementTitle:e.title,details:{uri:e.uri},elementType:r,elementGroup:mt.Social})}}},{useComponentProps:(e,t,i)=>{const a=(e=>({...e,updateStyles:t=>{const i=Object.entries(t).reduce(((e,[t,i])=>{return{...e,[(a=t,a.startsWith("--")?t:gt(t))]:void 0===i?null:i};var a}),{});e.updateStyles(i)}}))(i);return Lt({mapperProps:e,stateValues:t,controllerUtils:a})}})}}}(),n}()})); //# sourceMappingURL=https://static.parastorage.com/services/editor-elements-library/dist/thunderbolt/rb_wixui.thunderbolt[LinkBar_Responsive].5d64e9ea.bundle.min.js.map